<style>
.fixed-table-container{border: none;}
.table{border :1px solid #eee;}
.panel-body{overflow: auto;}
</style>

<div class="row">
	<ol class="breadcrumb">
		<li><a href="{:U('Index/index')}"><span class="glyphicon glyphicon-home"></span></a></li>
		<li class="active">留言管理</li>
	</ol>
</div><!--/.row-->

<div class="row">
	<div class="col-lg-12">
		<h1 class="page-header">留言管理</h1>
	</div>
</div><!--/.row-->

<div class="row">
	<div class="col-lg-12">
		<div class="panel panel-default">
			<div class="panel-body">
				<label>联系我们留言查看：</label>
				<div class="bootstrap-table">
					<div class="fixed-table-container">
						<div class="fixed-table-body">
							<div class="fixed-table-loading" style="top: 37px; display: none;">Loading, please wait…</div>
							<table data-toggle="table" data-url="tables/data2.json" class="table table-hover">
							    <thead>
								    <tr>
									    <th style="text-align: center;">
										    <div class="th-inner ">留言标题</div>
										    <div class="fht-cell"></div>
									    </th>
									    <th style="text-align: center;">
										    <div class="th-inner ">联系邮箱</div>
										    <div class="fht-cell"></div>
									    </th>
									    <th style="text-align: center;">
										    <div class="th-inner ">留言内容</div>
										    <div class="fht-cell"></div>
									    </th>
									    <th style="text-align: center;">
										    <div class="th-inner ">留言日期</div>
										    <div class="fht-cell"></div>
									    </th>
									    <th style="text-align: center;">
										    <div class="th-inner ">操作</div>
										    <div class="fht-cell"></div>
									    </th>
								    </tr>
							    </thead>
								<tbody>
									<?php foreach($lwdata as $k => $v) { ?>
									<tr style="text-align: center; ">
										<td><?php echo $v['lwtitle']; ?></td>
										<td><?php echo $v['email']; ?></td>
										<td><?php echo $v['lwcontent']; ?></td>
										<td><?php echo $v['lwdate']; ?></td>
										<td><a href="<?php echo U('LeavewordManage/lwDel',array('id'=>$v['id'])); ?>">删除</a></td>
									</tr>
									<?php } ?>
								</tbody>
							</table>
						</div>
					</div>
				</div>
				<div class="clearfix"></div>
			</div>
		</div>
	</div>
</div><!--/.row-->
